package com.rybbaby.tss.front.tssPertainRelation.service.imp;

import com.rybbaby.tss.core.web.service.imp.BaseServiceImp;
import com.rybbaby.tss.front.tssPertainRelation.dao.ITssPertainRelationDao;
import com.rybbaby.tss.front.tssPertainRelation.entity.TssPertainRelation;
import com.rybbaby.tss.front.tssPertainRelation.service.ITssPertainRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author 雷春琼
 * @description 所属关系数据库操作服务实现
 * @createDate 2017-08-14 上午10:34:49
 */
@Service
@Transactional
public class TssPertainRelationServiceImp extends BaseServiceImp<TssPertainRelation> implements ITssPertainRelationService {
    @Autowired
    private ITssPertainRelationDao dao;

    @Override
    public List<TssPertainRelation> findBySql(String studentId) {
        return dao.findBySql(studentId);
    }


}
